package ithink.link.stack;


import ithink.link.base.message.LinkMessage;

/**
 * Created by zaqb on 17-9-11.
 */
public interface IConnectionListener {
    void onMessageReceived(LinkMessage message);
    void onTransactionCreate(LinkMessage transaction);
    void onMessageSendFailed(LinkMessage message);
    void onError(Exception ex);
    void onDisconnected(Exception ex);
}
